home *** CD-ROM | disk | FTP | other *** search
- package Code.FIELD.effects
- {
- import Code.FIELD.interfaces._bw350;
- import Code.LIB._be548;
- import Code.LIB._oo505;
- import Code.LIB._tk11;
-
- public class _lb628 extends _be548 implements _bw350
- {
- public static const stDelay:int = 0;
-
- public static const stNormal:int = 1;
-
- public static const stInvisible:int = 2;
-
- private var pictureInd:int;
-
- private var bitmap:_oo505;
-
- private var timer:int;
-
- private var delay:int;
-
- private var _state:int;
-
- private var explodes:Array;
-
- public function _lb628(param1:Array, param2:int = 0)
- {
- super();
- this.explodes = param1;
- this.bitmap = new _oo505();
- this.delay = param2;
- addChild(this.bitmap);
- mouseEnabled = false;
- mouseChildren = false;
- state = stDelay;
- }
-
- public static function _af81(param1:Array, param2:Number, param3:int) : Array
- {
- var _loc4_:_vn252 = null;
- var _loc5_:Array = null;
- _loc4_ = new _vn252(param1,param2,param3);
- _loc5_ = new Array();
- while(_loc4_.state != _vn252.stInvisible)
- {
- _loc4_.onEnterFrame();
- _loc5_.push(_tk11._ev532(_loc4_));
- }
- return _loc5_;
- }
-
- public function get _ao508() : Boolean
- {
- return _state == stInvisible;
- }
-
- public function set state(param1:int) : void
- {
- _state = param1;
- switch(_state)
- {
- case stDelay:
- timer = 0;
- break;
- case stNormal:
- pictureInd = 0;
- _xr510();
- }
- }
-
- public function get state() : int
- {
- return _state;
- }
-
- public function _dx150() : void
- {
- }
-
- public function onEnterFrame() : void
- {
- switch(_state)
- {
- case stDelay:
- if(++timer >= delay)
- {
- state = stNormal;
- }
- break;
- case stNormal:
- if(++pictureInd >= explodes.length)
- {
- state = stInvisible;
- return;
- }
- _xr510();
- break;
- }
- }
-
- public function get display() : _be548
- {
- return this;
- }
-
- private function _xr510() : void
- {
- var _loc1_:_oo505 = null;
- _loc1_ = explodes[pictureInd];
- _loc1_._vy822(this.bitmap);
- }
- }
- }
-
-